<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="/${initParam.context_root}/js/jquery.min.js"></script>
<script type="text/javascript" src="/${initParam.context_root}/js/bootstrap.js"></script>
<link rel="stylesheet" href="/${initParam.context_root}/css/bootstrap.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title>게시판 &gt; ${board.subject}</title>
<script type="text/javascript">
$(function(){
	if($("iframe")){
		var h = document.body.scrollHeight+1000;
		$("iframe",parent.document).height(h);
		$(parent.document).attr("title","게시판 > ${board.subject}");
	}
	$('#modifyPost, #deletePost').tooltip('hide');
});
</script>
</head>
<body>
	
	<div class="htitle" id="title_1">
		<h3>${board.subject}</h3>
	</div>
	<hr>
	<p class="text-right" style="padding-right: 20px;">
	<small>
		${board.regDate} | <a
			href="/${initParam.context_root}/modifyBoard.do?num=${board.num}"
			id="modifyPost" data-toggle="tooltip" data-title='수정'><i class="icon-pencil"></i></a> | <a
			href="/${initParam.context_root}/delete.do?num=${board.num}"
			id="deletePost" data-toggle="tooltip" data-title='삭제'><i class="icon-remove"></i></a></small>
	</p>
	
	<div id="post-view" class="post-view" style="min-width:500px; min-height: 300px;">
		<p><textarea readonly="readonly" rows="30" cols="170">${board.content}</textarea> </p>
	</div>
	<!-- 					덧글쓰기 아이프레임으로 삽입 -->
	<iframe id="CommentFrm" allowtransparency="true"
		src="/${initParam.context_root}/comment.do?num=${board.num}"
		width="100%" height="0px" style="display: inline;" frameborder="0"
		title="덧글" ></iframe>
</body>
</html>